<%@ page language="java" contentType="text/html; charset=UTF-8" session="false"%>
<%@page import="com.wisedu.emap.base.core.EmapContext"%>
<%
  String RES_PATH = EmapContext.getStaticResourceRoot();
	String resHost = com.wisedu.emap.base.core.EmapContext.getStaticResourceRoot();
	String root = request.getContextPath();
	String coreRoot = ((String) request.getAttribute("coreRoot"));
	boolean needMenu = !"0".equals(request.getParameter("_inMenu"));
%><!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>${appCN}</title>
    <!-- css 引入 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.4.2/lib/index.css">

    <script type="text/javascript">
      window.contextPath = "<%= root %>";
      window.resPath = "<%= RES_PATH %>"
      window.coreRoot = "<%= coreRoot %>";
      window.appName = "${appCN}";
      window.appNameEn = "${appName}";
      window.helpLink = "${helpLink}";
      window.submitURL = "${submitPath}";
      window.formUrl = "${path}"; // 新增，用于单独表单页面
      window.formOnly = true;
    </script>
  </head>
  <body>
    <noscript>
      <strong>此页面需要 JavaScript 支持</strong>
    </noscript>
    <script src="<%=RES_PATH%>/bower_components/vue-2.6/vue.js"></script>
    <script src="<%=RES_PATH%>/bower_components/vue2/vue-router.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vant@2.4.2/lib/vant.min.js"></script>
    <script src="https://unpkg.com/vue-upload-component"></script>
    <script src="<%=RES_PATH%>/fe_components/mobile/tg-tree/tg-tree.min.js"></script>
  </body>
</html>
